package homework;

public class jichu1 {
	public static void main(String[] args) {
		System.out.println(getNumber(352));
	}
	public static int getNumber(int i) {
		int gw = i % 10;
		int sw = i / 10 % 10;
		int bw = i / 100;
		String a=gw+""+sw+""+bw+"";
		i=Integer.valueOf(a);
		return (int) i; 
	}
}